<?php
 
header("content-type:text/html;charset=utf-8");
try {
  $appAddress = "D:\\Projects\\apache\\Apache24\\htdocs\\Public\\uploads\\2018-03-06\\5a9e59e36466b.ipa";
  $zxlogo = date("Y-m-d").'/'.substr(uniqid(),1,10).'.png';
  $iconAddress = __DIR__.'/Public/icon/'.$zxlogo;
  //$iconAddress    = "D:\\Projects\\apache\\Apache24\\htdocs\\Public\\icon\\2018-03-13\\test12.png";
  $http='http://localhost:8083/AppPackageInfo/services/AppInfo?wsdl';
  $client = new SoapClient($http,array('encoding'=>'utf-8'));
  $param=array('appAddress'=>$appAddress, 'iconAddress'=>$iconAddress);
  $client->soap_defencoding = 'utf-8';
  $client->xml_encoding = 'utf-8';
 $result=$client->__soapCall("obtainAppInfo",array("parameters"=>$param));
  print_r($result);

} catch (SOAPFault $e) {
    print $e;
}
?>
